package cn.ssq.dao;

import cn.ssq.domain.AddressProvince;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AddressProvinceMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(AddressProvince record);

    int insertSelective(AddressProvince record);

    AddressProvince selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(AddressProvince record);

    int updateByPrimaryKey(AddressProvince record);
    List<AddressProvince> selectProvidence();
    String selectAddressProvinceBycode(String code);
    String selectAddressProvinceByName(String name);
}